package com.lab.driver;   

import java.io.IOException;
import java.net.UnknownHostException;
import java.util.List;
import java.util.Map;

import com.lab.dto.KVMapper;
import com.lab.pojo.Monitor;
import com.lab.pojo.Sensor;
import com.lab.pojo.Sensorproperty;

/**
 * @author wuhao
 * @version 创建时间：Apr 7, 2013 9:42:53 PM
 * 驱动说明
 */
public interface BaseDriver {
	List<KVMapper> getData();
	boolean init(Map<String,byte[]> ori);
	void doSocket(Monitor monitor,Sensor sensor) throws Exception;
	/**
	 * 获取Socket发送码
	 */
	Map<String,byte[]> getByteArray(int deviceAddr);
}
  